package com.yijdn.xfbyxq.common.config;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zww
 * @date 2018-03-18 23:29
 * <p>
 * Email 971762302@qq.com
 * <p>
 * Describe:
 */
@Configuration
@MapperScan("com.yijdn.xfbyxq.*.mapper")
public class MybatisConfig {

    @Bean
    public Pagination pagination(){
        Pagination pagination = new Pagination();
        return pagination;
    }
}
